Skip to content

fix: gate incremental trie behind flag #446

Merged
avalonche merged 2 commits intomainfrom
fix/incremental-trie-flag
Mar 17, 2026
Merged

fix: gate incremental trie behind flag #446
avalonche merged 2 commits intomainfrom
fix/incremental-trie-flag

Conversation

@avalonche
Copy link
Copy Markdown
Collaborator

@avalonche avalonche commented Mar 17, 2026

Summary

  • Adds --flashblocks.enable-incremental-state-root flag (default false) to gate incremental trie state root calculation

Adds `--flashblocks.enable-incremental-state-root` flag (default false) to
gate incremental trie state root calculation. When enabled, cumulative prefix
sets from all prior flashblocks are carried forward so the trie walker
re-visits every modified path, preventing stale cached hashes from reverted
storage slots.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Strip the cumulative_prefix_sets plumbing from FlashblocksState and
payload builder — this PR now only gates incremental trie behind the
--flashblocks.enable-incremental-state-root flag.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avalonche avalonche changed the title fix: gate incremental trie behind flag with cumulative prefix sets fix: gate incremental trie behind flag Mar 17, 2026
@avalonche avalonche merged commit 9d94256 into main Mar 17, 2026
4 checks passed
@avalonche avalonche deleted the fix/incremental-trie-flag branch March 17, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants